<div class="modal modal-assign fade {{#if fullscreen}}modal-fullscreen{{/if}}" role="dialog" aria-hidden="true"
     style="overflow-y: auto;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">{{title}}</h4>
            </div>
            <div class="modal-body">
                <table class="table table-bordered table-striped table-hover"></table>
            </div>
            {{#if has_footer}}
                <div class="modal-footer">
                    <button type="button" class="btn btn-default pull-left" data-dismiss="modal">取消</button>
                    <button type="submit" class="btn btn-primary btn-confirm">确认</button>
                </div>
            {{/if}}
            {{#if footer_opts}}
                <div class="modal-footer">
                    <button type="button" class="btn btn-default pull-left" data-dismiss="modal">取消</button>
                    {{#each footer_opts}}
                        <button class="btn btn-primary {{className}}">{{text}}</button>
                    {{/each}}
                </div>
            {{/if}}
        </div>
    </div>
</div>